﻿<Window x:Class="Domotica.Gazing.ConfigWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ConfigWindow" Width="300" ShowInTaskbar="False" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Topmost="True">
    <StackPanel>
        <Grid Height="150">
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
                <RowDefinition Height="30" />
                <RowDefinition Height="30" />
                <RowDefinition Height="30" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Grid.Row="0">Horizontal Gain</Label>
            <ComboBox Grid.Column="1" Grid.Row="0" Name="cbxHorizontalGain">
            </ComboBox>

            <Label Grid.Column="0" Grid.Row="1">Vertical Gain</Label>
            <ComboBox Grid.Column="1" Grid.Row="1" Name="cbxVerticalGain">
            </ComboBox>

            <Label Grid.Column="0" Grid.Row="2">Smooting</Label>
            <ComboBox Grid.Column="1" Grid.Row="2" Name="cbxSmoothing">
            </ComboBox>
            
            <CheckBox Name="cbReverseHorizon" Grid.Column="1" Grid.Row="4">Reverse Horizon</CheckBox>
        </Grid>
        <Grid Height="90">
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
                <RowDefinition Height="30" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Grid.Row="0" >Camera</Label>
            <ComboBox Grid.Column="1" Grid.Row="0" Name="cbxCamera">
            </ComboBox>
            <Button Grid.Column="1" Grid.Row="1">Change settings</Button>
        </Grid>
        <Grid Height="30">
            <Grid.RowDefinitions>
                <RowDefinition Height="30" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Button Grid.Column="0" Grid.Row="0" IsCancel="True">Cancel</Button>
            <Button Grid.Column="1" Grid.Row="0" IsDefault="True" Click="btnOk_Click" Name="btnOk">Ok</Button>
        </Grid>
    </StackPanel>
</Window>
